package com.campus.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("添加班级学生参数")
public class AddClassStudentsParam {

    @ApiModelProperty("班级ID")
    @NotNull(message = "班级ID不能为空")
    private Long classId;

    @ApiModelProperty("学生ID列表")
    @NotBlank(message = "学生ID列表不能为空")
    private List<Long> studentIds;
}
